export const isObject = (value) => typeof value === 'object' && value !== null;
export const extend = Object.assign; //合并
export const isArray = Array.isArray;
export const isFunction = (value) => typeof value === 'function';
export const isNumber = (value) => typeof value === 'number';
export const isString = (value) => typeof value === 'string';
export const isIntegerKey = (value) => parseInt(value) + '' === value; //判断是否是整型
// 判断当前原型上是否有该属性
let hasOwnProperty = Object.prototype.hasOwnProperty;
export const hasOwn = (target, value) => hasOwnProperty.call(target, value)
export const hasChange = (oldValue, value) => oldValue !== value;